package com.dy.drp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author dy
 * @since 2022-04-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_client")
@ApiModel("客户实体类")
public class Client extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "client_id", type = IdType.AUTO)
    @ApiModelProperty(hidden = true)
    private Long clientId;

    @ApiModelProperty("客户名")
    private String clientName;

    @TableField("mainPerson")
    @ApiModelProperty("主要负责人")
    private String mainPerson;

    @TableField("mainPerson_tel")
    @ApiModelProperty("负责人电话")
    private String mainpersonTel;

    @ApiModelProperty("办公地址")
    private String clientAddress;

    @ApiModelProperty("客户邮箱")
    private String clientEmail;

    @ApiModelProperty("经营范围")
    private String lientScop;


}
